// 分页通用组件
<template>
  <el-pagination
    class="pagination"
    background
    layout="prev, pager, next"
    :total="total"
    :page-size="pageSize"
    :current-page="currentPage"
    @current-change="$emit('page-change', $event)"
  />
</template>

<script>
export default {
  props: {
    total: Number,
    pageSize: Number,
    currentPage: Number
  }
};
</script>